using ColorFillGame.Application.Commands;
using MediatR;

namespace ColorFillGame.Application.Commands.Game;

public class JoinGameCommand : ICommand<Guid>
{
    public Guid GameId { get; set; }
    public string PlayerName { get; set; }
    public string ConnectionId { get; set; }

    public JoinGameCommand(Guid gameId, string playerName, string connectionId)
    {
        GameId = gameId;
        PlayerName = playerName;
        ConnectionId = connectionId;
    }
}